<!DOCTYPE html>
<html class="x-admin-sm">

<head>
    <meta charset="UTF-8">
    <title>添加公司信息</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <!--    <meta name="viewport"-->
    <!--          content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi"/>-->
    <link rel="stylesheet" href="/css/font.css">
    <link rel="stylesheet" href="/css/xadmin.css">
    <script type="text/javascript" src="/js/jquery.min.js" charset="utf-8"></script>
    <script src="/js/admin/isLogin.js" charset="utf-8"></script>
    <script type="text/javascript" src="/lib/layui/layui.js" charset="utf-8"></script>
    <script type="text/javascript" src="/js/xadmin.js"></script>
    <script type="text/javascript" src="/js/company/company-add.js"></script>
    <!-- 让IE8/9支持媒体查询，从而兼容栅格 -->
    <!--[if lt IE 9]>
    <script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
    <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
</head>
<body>
<div class="layui-fluid">
    <div class="layui-row">
        <form class="layui-form" onsubmit="return false;">
            <div class="layui-form-item">
                <label for="L_name" class="layui-form-label">
                    <span class="x-red">*</span>公司名称</label>
                <div class="layui-input-inline">
                    <input type="text" id="L_name" name="name"  required="" lay-verify="name"
                           autocomplete="off" class="layui-input">
                </div>
                <div class="layui-form-mid layui-word-aux">
                    <span class="x-red">*</span>
                    <span id="emailHint" >4——16字符</span>
                </div>
            </div>
            <div class="layui-form-item">
                <label for="L_nameEnglish" class="layui-form-label">
                    <span class="x-red">*</span>英文名称</label>
                <div class="layui-input-inline">
                    <input type="text" id="L_nameEnglish" name="nameEnglish"  required="" lay-verify="required|english"
                           autocomplete="off" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label for="L_phone" class="layui-form-label">
                    <span class="x-red">*</span>客服电话</label>
                <div class="layui-input-inline">
                    <input type="text" id="L_phone" name="phone" required="" maxlength="11"
                           lay-verify="L_phone"
                           autocomplete="off" class="layui-input">
                </div>
            </div>
            <div class="layui-inline" id="start-end">
                <label class="layui-form-label">
                    <span class="x-red">*</span>经营时间</label>
                <div class="layui-input-inline">
                    <input type="text" autocomplete="off" id="startTime" name="startTime" required class="layui-input" lay-verify="required|startTime" placeholder="开始时间">
                </div>
                <div class="layui-input-inline">
                    <input type="text" autocomplete="off" id="endTime" name="endTime" class="layui-input" lay-verify="endTime" placeholder="结束时间">
                </div>
            </div>
            <div class="layui-form-item">
                <label for="L_idea" class="layui-form-label">
                    <span class="x-red">*</span>经营理念</label>
                <div class="layui-input-inline">
                    <input type="text" id="L_idea" name="idea"  required="" lay-verify="required"
                           autocomplete="off" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label for="L_ideaEnglish" class="layui-form-label">
                    <span class="x-red">*</span>英文理念</label>
                <div class="layui-input-inline">
                    <input type="text" id="L_ideaEnglish" name="ideaEnglish"  required="" lay-verify="required|english"
                           autocomplete="off" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item layui-form-text">
                <label for="profile" class="layui-form-label">公司简介</label>
                <div class="layui-input-block">
                    <textarea id="profile" name="profile" required="" lay-verify="required" class="layui-textarea" ></textarea>
                </div>
            </div>
            <div class="layui-form-item">
                <label for="L_title" class="layui-form-label">
                    <span class="x-red">*</span>产品标题</label>
                <div class="layui-input-inline">
                    <input type="text" id="L_title" name="title"  required="" lay-verify="required"
                           autocomplete="off" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item layui-form-text">
                <label for="detail" class="layui-form-label">产品简介</label>
                <div class="layui-input-block">
                    <textarea id="detail" name="detail" required="" lay-verify="required" class="layui-textarea" ></textarea>
                </div>
            </div>
<!--   隐藏，默认不启用    -->
            <div class="layui-form-item" style="display: none">
                <label for="state" class="layui-form-label">
                    <span class="x-red">*</span>状态</label>
                <div class="layui-input-inline">
                    <input type="checkbox" name="state" id="state" lay-skin="switch" disabled="" value="0" lay-text="启用|停用">
                </div>
            </div>
            <div class="layui-form-item">
                <label  class="layui-form-label"></label>
                <button class="layui-btn" lay-filter="add" id="sumbit" lay-submit="">增加信息</button>
                &emsp;
                <button class="layui-btn layui-btn-danger" type="reset" >重置信息</button>
            </div>
        </form>
    </div>
</div>

</body>

</html>